﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Ninject;
using System.Reflection;

namespace Scala.Data.Impl.Tests
{
    class DataHelper
    {
        static StandardKernel kernel;

        static DataHelper()
        {
            kernel = new StandardKernel();
            var assemblies = new List<Assembly>();
            kernel.Load(new List<Assembly>() { Assembly.Load("Scala.IoC") });
        }

        public static T GetActual<T>()
        {
            return (T)kernel.Get<T>();
        }       

    }
}
